package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
	
	 void deleteByPrimaryKey(Long id);

	    void insert(Department entity);

	    Department selectByPrimaryKey(Long id);

	    List<Department> selectAll();

	    void updateByPrimaryKey(Department entity);

		PageInfo query(QueryObject qo);
}
